package com.fyl.pattern.state.after;

/**
 * 抽象状态类
 */
public abstract class LiftState {

    //声明环境角色类变量
    protected Context context;

    public LiftState(Context context) {
        this.context = context;
    }

    public LiftState() {
    }

    public void setContext(Context context) {
        this.context = context;
    }

    public abstract void open();
    public abstract void close();
    public abstract void run();
    public abstract void stop();
}
